package com.offcn.sellergoods.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 品牌表
 *
 * @Author:ujiuye
 * @Description:Brand构建
 * @Date 2021/2/1 14:19
 *****/
@Data
@ApiModel(description = "Brand", value = "Brand")
@TableName(value = "tb_brand")
public class Brand implements Serializable {

    /**
     * 主键id
     */
    @ApiModelProperty(value = "", required = false)
    @TableId(type = IdType.AUTO)
    @TableField(value = "id")
    private Long id;

    /**
     * 品牌名称
     */
    @ApiModelProperty(value = "品牌名称", required = false)
    @TableField(value = "name")
    private String name;

    /**
     * 品牌首字母
     */
    @ApiModelProperty(value = "品牌首字母", required = false)
    @TableField(value = "first_char")
    private String firstChar;

    /**
     * 品牌图像
     */
    @ApiModelProperty(value = "品牌图像", required = false)
    @TableField(value = "image")
    private String image;

}
